﻿using Reborn.Plugins;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Reborn.MicroKernel.Register
{
    public class PluginsRegister
    {
        public static void Handler(Config config)
        {
            if (config.PluginDirectory == null && config.PluginDirectory.Length == 0) return;

            //注册插件
            PluginsServiceProvider.Instance.Register(config.PluginDirectory);
        }
    }
}
